package com.example.demo.enums;

public enum OrderStatusEnum {
    CANCEL(0,"已取消"),
    NEW(1,"已下单"),
    PAY(2,"已支付"),
    SEND(3,"已发货"),
    SIGNATURE(4,"已签收"),
    FINISH(5,"已完成"),
    COMMENT(6,"已评论");
    
    private Integer code;
    private String msg;
    
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    private OrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    
    
    
}
